//
//  IMINetRequest.h
//  IMINet
//
//  Created by Travis on 09-11-23.
//  Copyright 2009 Exmart. All rights reserved.
//

#import <Foundation/Foundation.h>

#define HTTPMethodPost @"POST"
#define HTTPMethodGet @"GET"

@interface IMINetRequest : NSMutableURLRequest {
	NSString *uuid;
	NSString *reqURL;
	NSMutableDictionary *bodyDict;
	BOOL isGZip;
}

@property(nonatomic,retain) NSString *uuid;
@property(nonatomic,assign) BOOL isGZip;

+(id)requestWithURL:(NSURL*)theURL;

- (void) setParam:(NSString*)param forKey:(NSString*)key;

-(void) generate;

@end
